package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.PayDeatailsDao;
import com.bootdo.system.domain.PayDeatailsDO;
import com.bootdo.system.service.PayDeatailsService;



@Service
public class PayDeatailsServiceImpl implements PayDeatailsService {
	@Autowired
	private PayDeatailsDao payDeatailsDao;
	
	@Override
	public PayDeatailsDO get(Integer id){
		return payDeatailsDao.get(id);
	}
	
	@Override
	public List<PayDeatailsDO> list(Map<String, Object> map){
		return payDeatailsDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return payDeatailsDao.count(map);
	}
	
	@Override
	public int save(PayDeatailsDO payDeatails){
		return payDeatailsDao.save(payDeatails);
	}
	
	@Override
	public int update(PayDeatailsDO payDeatails){
		return payDeatailsDao.update(payDeatails);
	}
	
	@Override
	public int remove(Integer id){
		return payDeatailsDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return payDeatailsDao.batchRemove(ids);
	}

	@Override
	public int sum(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return payDeatailsDao.sum(map);
	}
	
}
